<?php
namespace inkstones\base;
use Exception;

class Factory{
	public static function product($class){
		return class_exists($class)?new $class():new Exception('not exists :'.$class);
	}
}

















?>